import * as React from 'react';
import '../styles.less';
import ParagraphCard from '../../../components/ParagraphCard'
import { insertHtmlAfterParagraph } from '../../../utils/WordUtil'
import * as ReactDom from 'react-dom';

export interface LiteralProps {
  res: any[]
}

export interface LiteralStates {

}

export default class Literal extends React.Component<LiteralProps, LiteralStates> {
  constructor(props, context) {
    super(props, context);
  }

  render() {
    const { content }: any = this.props.res
    return (
      <div className='literal'>
        <div className="title">为您找到<span> {content.count} </span>条数据</div>
        {
          content.data && <div className="content">{content.data}</div>
        }
      </div>
    );
  }

}
